import React from 'react';
import ReactDOM from 'react-dom';
import { HashRouter as Router, Switch, Route } from 'react-router-dom'
import { Provider } from 'mobx-react';
import App from './App';
import store from './store';
import './index.less';
import './icon.less';
// 引入mdi图标样式
require('@mdi/font/css/materialdesignicons.css');

ReactDOM.render(
    <Provider {...store}>
        <Router>
            <Switch>
                <Route path="/" component={App} />
            </Switch>
        </Router>
    </Provider>,
    document.getElementById('root')
);

